<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>animation-delay</title>
  <style>
    * {
      margin: 0;
      padding: 0;
    }
    body {
      width: 100vw;
      height: 100vh;
      background: #34495e;
      display: flex;
      justify-content: center;
      align-items: center;
    }
    div {
      width: 100px;
      height: 100px;
      background: radial-gradient(at center, #e67e22, #e74c3c);
      animation-name: square;
      animation-duration: 4s;
      animation-iteration-count: infinite;
      animation-direction: alternate;
      animation-delay: 2s;
    }
    
    @keyframes square {
      /* 50% {
        transform: scale(1);
      } */
      to {
        transform: scale(3)
      }
    }
  </style>
</head>
<body>
  <div></div>
</body>
</html>